//隔离液设计

// 导入封装好的网络请求类工具
import request from '../../../../../utils/request';
// 封装各种接口请求
// export const 接口名 = () => Network.get('/路由',参数对象);

//隔离液设计-编辑保存数据
export const SpacerfluidDesignUpdate = (form) => {
    return request({
        url: '/spacerfluidDesign/spacerfluidDesignUpdate',
        method: 'put',
        data: form
    })
}

//隔离液设计-删除数据
export const SpacerfluidDesignDelete = (id) => {
    return request({
        url: `/spacerfluidDesign/spacerfluidDesignDelete/${id}`,
        method: 'delete'
    })
}

//隔离液设计-查询数据
export const FindSpacerfluidDesign = (WellStructureId) => {
    return request({
        url: `/spacerfluidDesign/findSpacerfluidDesignByCondition/${WellStructureId}`,
        method: 'get',
       
    })
}


export const addSpacerfluidDesign = (WellStructureId,form) => {
    return request({
        url: `/spacerfluidDesign/insertOrUpdateSpacerfluidDesign/${WellStructureId}`,
        method: 'post',
        data:form,
       
    })
}


//隔离液设计-新增数据
export const SpacerfluidDesignAdd = (form) => {
    return request({
        url: '/spacerfluidDesign/spacerfluidDesignAdd',
        method: 'post',
        data: form
    })
}